import { IResearchData } from "./iResearchData";

export const ResearchData: IResearchData[] = [
  //  Unlocked by default
  {
    id: "r",
    name: "更好的研究",
    shape: "flask",
    price: 200,
    description: "+20% 研究速度",
    limit: Number.POSITIVE_INFINITY,
    researchToUnlock: ["c", "E"],
    bonus: [["研究速度", "+20%"]]
  },
  //    End of starting researches  ---------------
  {
    id: "E",
    name: "能源",
    shape: "energy",
    price: 5e3,
    description: "+10% 能源",
    limit: Number.POSITIVE_INFINITY,
    researchToUnlock: ["CO"],
    bonus: [["能源获得", "+10%"]]
  },

  {
    id: "c",
    name: "护卫舰",
    shape: "rank1",
    price: 2e3,
    description: "解锁护卫舰",
    resourceToUnlock: ["S1", "SP", "a", "a1"],
    researchToUnlock: ["SC", "f", "X1", "W1", "mM", "cM", "eM"]
  },
  {
    id: "SC",
    name: "清道夫",
    shape: "coin-bag",
    price: 5e3,
    description: "+10% 来自战斗的资源",
    limit: Number.POSITIVE_INFINITY,
    bonus: [["来自战斗的资源", "+10%"]]
  },
  {
    id: "W1",
    name: "战士",
    shape: "bullseye",
    price: 1e5,
    description: "解锁战士",
    resourceToUnlock: ["W1", "n"]
  },
  {
    id: "X1",
    name: "望远镜",
    shape: "radar",
    price: 1e4,
    description: "解锁望远镜",
    resourceToUnlock: ["X1", "XP"],
    researchToUnlock: ["M", "D"]
  },
  {
    id: "f",
    name: "小型护卫舰",
    shape: "rank2",
    price: 1e6,
    description: "解锁小型护卫舰",
    researchToUnlock: ["d"]
  },
  {
    id: "d",
    name: "驱逐舰",
    shape: "rank3",
    price: 1e8,
    description: "解锁驱逐舰",
    researchToUnlock: ["b"]
  },
  {
    id: "b",
    name: "巡洋舰",
    shape: "rank4",
    price: 1e11,
    description: "解锁巡洋舰",
    researchToUnlock: ["t"]
  },
  {
    id: "t",
    name: "战列巡洋舰",
    shape: "flask",
    price: 1e14,
    description: "解锁战列巡洋舰",
    researchToUnlock: ["civ", "s", "cl1"]
  },
  {
    id: "s",
    name: "主力舰",
    shape: "flask",
    price: 1e17,
    description: "解锁主力舰",
    researchToUnlock: ["n"]
  },
  {
    id: "n",
    name: "Titan",
    shape: "titan",
    price: 1e20,
    description: "Unlock Titan",
    researchToUnlock: ["Mt"],
    limit: 100
  },
  {
    id: "Mt",
    name: "M-theory",
    shape: "atom-core",
    price: 1e24,
    description: "Improve science",
    bonus: [["科学获得", "+2000%"]]
  },
  {
    id: "D",
    name: "机器人工厂",
    shape: "robot",
    price: 1e7,
    description: "机器人工厂",
    resourceToUnlock: ["D", "F"],
    researchToUnlock: ["i", "D1"]
  },
  {
    id: "D1",
    name: "批量生产",
    shape: "robot",
    price: 1e12,
    limit: Number.POSITIVE_INFINITY,
    description: "改善机器人工厂",
    bonus: [["机器人工厂输入/输出", "+20%"]]
  },
  {
    id: "M",
    name: "无人机改装",
    shape: "hand",
    price: 2e5,
    description: "+1 无人机改装点数",
    limit: Number.POSITIVE_INFINITY,
    bonus: [["模块点数", "+1"]]
  },
  {
    id: "i",
    name: "导弹",
    shape: "missile",
    price: 1e7,
    description: "反防御星际导弹",
    resourceToUnlock: ["i", "i1"],
    limit: Number.POSITIVE_INFINITY,
    bonus: [["导弹伤害", "+20%"]]
  },
  {
    id: "mM",
    name: "矿物净化厂",
    shape: "metal",
    price: 5e4,
    description: "解锁矿物净化厂",
    resourceToUnlock: ["mM"]
  },
  {
    id: "cM",
    name: "水晶净化厂",
    shape: "crystal",
    price: 5e4,
    description: "解锁水晶净化厂",
    resourceToUnlock: ["cM"]
  },
  {
    id: "eM",
    name: "电网",
    shape: "energy",
    price: 5e4,
    description: "解锁电网",
    resourceToUnlock: ["eM"],
    researchToUnlock: ["xM"]
  },
  {
    id: "civ",
    name: "民用船舶",
    shape: "satellite",
    price: 1e14,
    description: "解锁民用船只",
    resourceToUnlock: ["te", "sc", "ss", "bs"]
  },
  {
    id: "cl1",
    name: "船舶类",
    shape: "class",
    price: 1e14,
    description: "解锁船只类和战斗机",
    researchToUnlock: ["cl2", "cl3", "cl4"],
    classesToUnlock: ["1"]
  },
  {
    id: "cl2",
    name: "轰炸机",
    shape: "bomber",
    price: 1e14,
    description: "解锁轰炸机",
    classesToUnlock: ["2"]
  },
  {
    id: "cl3",
    name: "防御者",
    shape: "defender",
    price: 1e14,
    description: "解锁防御者",
    classesToUnlock: ["3"]
  },
  {
    id: "cl4",
    name: "技术员",
    shape: "scout",
    price: 1e14,
    description: "解锁技术员",
    classesToUnlock: ["4"]
  },
  // {
  //   id: "cl5",
  //   name: "Supply",
  //   shape: "ufo",
  //   price: 1e14,
  //   description: "Unlock Supply",
  //   classesToUnlock: ["5"]
  // },
  {
    id: "xM",
    name: "计算中心",
    shape: "cpu",
    price: 1e5,
    description: "解锁计算中心",
    resourceToUnlock: ["xM"],
    researchToUnlock: ["sM", "CO"]
  },
  {
    id: "sM",
    name: "科学情结",
    shape: "flask",
    price: 1e6,
    description: "解锁科学情结",
    resourceToUnlock: ["sM"]
  },
  {
    id: "CO",
    name: "计算",
    shape: "cpu",
    price: 1e6,
    description: "+10% 计算",
    limit: Number.POSITIVE_INFINITY,
    bonus: [["计算获得", "+10%"]]
  }
];
